package com.example.springdemo.utils;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
public class ApplicationListenUtil implements ApplicationRunner {
        @Override
        public void run(ApplicationArguments event) throws Exception{
            System.out.println("项目启动啦");
        }
}
